summaryrefslogtreecommitdiffhomepage
path: root/cloud/web/src/pages/[workspace]/billing.module.css
blob: 5e58892a5fa69a6ef5ed3d0010289530aff70314 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.root {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-7) var(--space-5) var(--space-5);

  [data-slot="billing-info"] {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
  }

  [data-slot="header"] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1-5);

    h2 {
      text-transform: uppercase;
      font-weight: 600;
      letter-spacing: -0.03125rem;
      font-size: var(--font-size-lg);
    }

    p {
      color: var(--color-text-dimmed);
      font-size: var(--font-size-md);
    }
  }

  [data-slot="balance"] {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    padding: var(--space-6);
    border: 2px solid var(--color-border);
  }

  [data-slot="amount"] {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    line-height: 1.2;
  }

  @media (min-width: 40rem) {
    [data-slot="balance"] {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }

    [data-slot="amount"] {
      margin: 0;
    }
  }
}